A Semantics of Introspection in a Re ectivePrototype - Based

نویسنده

  • JACQUES MALENFANT
چکیده

In Malenfant et al. 19], we have described a reeective model for a prototype-based language based on the lookup apply reeective introspection protocol. In this paper, we augment our previous protocol by converting it to handle continuations reiied as rst-class objects. First-class continuations provide much more control over the current computation; during the introspection phase red by message sending, they make it possible not only to change the behavior of the program for that message but also for the entire future computation. In this paper, we provide this introspection protocol with a formal semantics. This result is obtained by exhibiting a mapping from program conngurations to priority rewrite systems (PRS) as well as a mapping from message expressions to ground rst-order terms used to query the PRS. Other advantages of this approach are: to ensure the termination of the introspection using the smallest set of formally justiied conditions and to provide a clear declarative account of this reeective protocol. The PRS also appears as a meta-level to the base language, independent of the implementation, but from which we derive fundamental clues to obtain an eecient language processor. By our new model, we nally highlight the link between reeection in object-oriented languages and the one originally proposed by 3-Lisp 24], although object-orientation provides reusability to reeection, making it easier to use.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Vagueness and Introspection

Intransitivity and introspection. One central and debated aspect of the notion of inexact knowledge concerns the non-transitivity of the relation of indiscriminability and how it should be represented. On the epistemic account of vagueness put forward by Williamson, the intransitivity of the relation of indiscriminability is presented as the main source for vagueness ([5]: 237). In [4] and in t...

متن کامل

Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey

One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...

متن کامل

Genuine and Stable Quitting: The Pattern of Stability in Quitting based on the Lived Experiences of Improved Substance-Dependent Individuals by the Grounded Theory Method

Objective: The aim of the present study was to provide a model of stability in quitting based on the lived experiences of improved substance-dependent people. Method: The method of this research was qualitative and of the background theory type. Participants in this study were improved substance-dependent people living in Lorestan province in 2018-2019 who had more than 6 years of experience in...

متن کامل

Disjunctive Logic Programming and Possible Model Semantics

We use Kripke structures of autoepistemic logic to classify various semantics for disjunctive logic programs with default negation. We have observed that nonmonotonic reasoning can be characterized by Kripke structures whose beliefs are justiied. We also observed that two diierent types of negative introspection in autoepistemic reasoning present two diierent interpretations of default negation...

متن کامل

Lexical Semantics and Selection of TAM in Bantu Languages: A Case of Semantic Classification of Kiswahili Verbs

The existing literature on Bantu verbal semantics demonstrated that inherent semantic content of verbs pairs directly with the selection of tense, aspect and modality formatives in Bantu languages like Chasu, Lucazi, Lusamia, and Shiyeyi. Thus, the gist of this paper is the articulation of semantic classification of verbs in Kiswahili based on the selection of TAM types. This is because the sem...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996